package Tree_09.ArrayBinaryTree_02;

/*
 * @Author 罗
 * @date 2020/3/20 - 11:56 下午
 *
 */

public class test {

    public static void main(String[] args) {

        Integer[] array = {1,2,3,4,5,6,7};

        ArrayBinaryTree<Integer> arrayBinaryTree = new ArrayBinaryTree<>(array);
        System.out.println("中序");
        arrayBinaryTree.infixList(0);
        System.out.println("\n前序");
        arrayBinaryTree.prefix(0);
        System.out.println("\n后序");
        arrayBinaryTree.suffix(0);
    }
}
